package com.guigu.xm.lq.service.impl;

import com.guigu.xm.lq.mapper.SysMenuRoleMapper;
import com.guigu.xm.lq.service.SysMenuRoleService;
import com.guigu.xm.pojo.SysMenuRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysMenuRoleServiceImpl implements SysMenuRoleService {
    @Autowired(required = false)
    SysMenuRoleMapper smr;
    @Override
    public int insert(SysMenuRole record) {
        return smr.insert(record);
    }

    @Override
    public int delMenu(String user_id) {
        return smr.delMenu(user_id);
    }
}
